package com.simple.base.core.service;

import com.baomidou.mybatisplus.service.IService;
import com.simple.base.core.repository.entity.SysUser;

import java.util.Set;

/**
 * <p>
 * 系统用户表 服务类
 * </p>
 *
 * @author kin
 * @since 2017-12-19
 */
public interface ISysUserService extends IService<SysUser> {

    SysUser login(String account, String password);

    Set<String> getPermission(Long userId);
}
